package com.ekingwin.www.esb.HNYG_047_SAP_PR_PP_0_ProReportingService;

public class HNYG047_SAPPR_PP_0_ProReportingService_pttProxy implements com.ekingwin.www.esb.HNYG_047_SAP_PR_PP_0_ProReportingService.HNYG047_SAPPR_PP_0_ProReportingService_ptt {
  private String _endpoint = null;
  private com.ekingwin.www.esb.HNYG_047_SAP_PR_PP_0_ProReportingService.HNYG047_SAPPR_PP_0_ProReportingService_ptt hNYG047_SAPPR_PP_0_ProReportingService_ptt = null;
  
  public HNYG047_SAPPR_PP_0_ProReportingService_pttProxy() {
    _initHNYG047_SAPPR_PP_0_ProReportingService_pttProxy();
  }
  
  public HNYG047_SAPPR_PP_0_ProReportingService_pttProxy(String endpoint) {
    _endpoint = endpoint;
    _initHNYG047_SAPPR_PP_0_ProReportingService_pttProxy();
  }
  
  private void _initHNYG047_SAPPR_PP_0_ProReportingService_pttProxy() {
    try {
      hNYG047_SAPPR_PP_0_ProReportingService_ptt = (new com.ekingwin.www.esb.HNYG_047_SAP_PR_PP_0_ProReportingService.HNYG047_SAPPR_PP_0_ProReportingService_pttBindingQSServiceLocator()).getHNYG047_SAPPR_PP_0_ProReportingService_pttBindingQSPort();
      if (hNYG047_SAPPR_PP_0_ProReportingService_ptt != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)hNYG047_SAPPR_PP_0_ProReportingService_ptt)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)hNYG047_SAPPR_PP_0_ProReportingService_ptt)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (hNYG047_SAPPR_PP_0_ProReportingService_ptt != null)
      ((javax.xml.rpc.Stub)hNYG047_SAPPR_PP_0_ProReportingService_ptt)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.ekingwin.www.esb.HNYG_047_SAP_PR_PP_0_ProReportingService.HNYG047_SAPPR_PP_0_ProReportingService_ptt getHNYG047_SAPPR_PP_0_ProReportingService_ptt() {
    if (hNYG047_SAPPR_PP_0_ProReportingService_ptt == null)
      _initHNYG047_SAPPR_PP_0_ProReportingService_pttProxy();
    return hNYG047_SAPPR_PP_0_ProReportingService_ptt;
  }
  
  public void HNYG047_SAPPR_PP_0_ProReportingService(java.lang.String data, javax.xml.rpc.holders.StringHolder SIGN, javax.xml.rpc.holders.StringHolder message) throws java.rmi.RemoteException, com.ekingwin.www.esb.HNYG_047_SAP_PR_PP_0_ProReportingService.QueryFault{
    if (hNYG047_SAPPR_PP_0_ProReportingService_ptt == null)
      _initHNYG047_SAPPR_PP_0_ProReportingService_pttProxy();
    hNYG047_SAPPR_PP_0_ProReportingService_ptt.HNYG047_SAPPR_PP_0_ProReportingService(data, SIGN, message);
  }
  
  
}